<div class="content-primary">
	<nav>		
		<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="a">
			<li data-role="list-divider">All Computers</li>
			<% @computers.each do |computer| %>
		    	<li>
		    		<%if computer.status == 2%>
		    			<%= link_to "<span style='color: #E88430'>#{computer.name} : #{computer.operations.size}</span>", :action => :showOperations, :id => computer.id %>
		    		<%else%>
		    			<% if computer.status == 0 %>
		    				<span style='color: #D33C3C;'><span><%= computer.name %>
		    			<% else %>
		    				<% if computer.status == 1 %>
		    					<span style='color: #56A00E;'><span><%= computer.name %>
		    				<% end %>
		    			<% end %>
		    		<%end%>
	    		</li>
			<%end%>
		</ul>
	</nav>
</div>

